package com.zhangtao.demo.config.redis.nettyclient.command;

public class RedisCommand {

	public static String auth(String auth) {
		return String.format("auth %s", auth);
	}
	public static String select(int db) {
		return String.format("select %s", db);
	}
	public static String scan(int cursor, String match, int count) {
		return String.format("scan %s match %s count %s", cursor, match, count);
	}
	public static String get(String key) {
		return String.format("get %s", key);
	}
}
